package com.teddy.DTXMB.Service;

import java.util.List;

import com.teddy.DTXMB.Model.ShoppingCart;
import com.teddy.DTXMB.Model.Custom;
import com.teddy.DTXMB.Model.Order;
import com.teddy.DTXMB.Model.OrderList;

public interface OrderService {
    List<Order> getAllOrderByCustomID(int id);
    List<Order> getOrdersByPageID(int customID, int pageNumber);
    Order getOrderByID(int id);
    List<OrderList> getOrderListByOrderID(int id);
    int makeShoppingCartToOrder(Custom custom, List<ShoppingCart> shoppingCarts);
}
